package com.czbank.financing.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * @Auther: thinkpad
 * @Date: 2019/7/12 11:44
 * @Description:
 */

public class Product {

    private int id;



    private int pid;


    private String productName;


    private String productDescribe;


    private String creationTime;


    private int productType;


    private float productPrice;


    private int productLimit;


    private float productProfits;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDescribe() {
        return productDescribe;
    }

    public void setProductDescribe(String productDescribe) {
        this.productDescribe = productDescribe;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public int getProductType() {
        return productType;
    }

    public void setProductType(int productType) {
        this.productType = productType;
    }

    public float getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(float productPrice) {
        this.productPrice = productPrice;
    }

    public int getProductLimit() {
        return productLimit;
    }

    public void setProductLimit(int productLimit) {
        this.productLimit = productLimit;
    }

    public float getProductProfits() {
        return productProfits;
    }

    public void setProductProfits(float productProfits) {
        this.productProfits = productProfits;
    }


    public Product() { }

    public Product(int pid, String productName, String productDescribe, String creationTime, int productType, float productPrice, int productLimit, float productProfits) {
        this.pid = pid;
        this.productName = productName;
        this.productDescribe = productDescribe;
        this.creationTime = creationTime;
        this.productType = productType;
        this.productPrice = productPrice;
        this.productLimit = productLimit;
        this.productProfits = productProfits;
    }



}
